package com.lzl.abstractpattern;

/**
 * 国内支付宝工厂
 */
public class AliPayFactory implements IPayment {
    public IPaymentMode paymentMode() {
        return new AliPay();
    }

    public IPaymentFlow paymentFlow() {

        return new DomesticPaymentFlow();
    }
}
